//
//  HMPraiseTool.h
//  HowToDo
//
//  Created by 宋轩 on 17/1/8.
//  Copyright © 2017年 KY. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HMPraiseTool : NSObject

@property (nonatomic, strong) NSMutableArray *modelArray;

+ (instancetype)sharedPraiseTool;

//- (void)getPraiseDataWithID:(NSString *) readID_id andItem_title:(NSString *)item_title andAdd_time:(NSString *)add_time andLike_count:(NSString *)like_count andItem_image_url:(NSString *)item_image_url andItem_introduce:(NSString *)item_introduce andRead_count:(UIButton *)read_count;

/**
 点赞调用此方法

 @param readID_id  资源id
 @param like_count 点赞数
 */
- (void)getPraiseDataWithID:(NSString *) readID_id andLike_count:(NSString *)like_count;


/**
 取消点赞调用此方法

 @param readID_id 资源id
 */
- (void)removePraiseDataWithID:(NSString *) readID_id;


/**
 获取点赞数

 @param reaadID_id 资源id

 @return 点赞数
 */
- (NSString *)getLikeCountWithID:(NSString *)reaadID_id;
@end
